Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linter and associated tasks #828

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Fix linter and associated tasks #828

wants to merge 5 commits into from

Conversation

jlwllmr
Copy link
Collaborator

@jlwllmr jlwllmr commented Nov 12, 2024

Primarily fixes #827. This involved removing the package eslint-plugin-react-hooks, which seemed to cause the problems dependency-wise. This enables us to use eslint 9.x.x (with the help of @eslint/compat, which I re-added), whilst also retaining our existing plugins.

Getting the linter to work properly again meant there were a lot of linter errors to address. I initially addressed these with Prettier, and resolved a few JS/JSX issues as well. But then realised Prettier erased our adherence to <100 character line limits, so adjusted the proseWrap setting in .prettierrc to always, so that it enforces the best-practice 80 character line length (a value it retrieves from .editorconfig.

Copy link

vercel bot commented Nov 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
doc-zk-evm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 11:43am

@jlwllmr
Copy link
Collaborator Author

jlwllmr commented Nov 12, 2024

Intend to merge even with some .md errors occurring in the checks. Intend to fix these in the near future (read: completely eradicate by shifting everything to .mdx) with the audit going on on the branch tooling-proofread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix the linter
1 participant